Skip to contentSkip to conversation

Change in openvpn[master]: configure.c adjust to native inotify support for FreeBSD 15+

Openvpn-devel In review cron2 (Code Review) 2 participants 7 messages Feb 16 – Feb 20 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1771268251000.Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8@...2715...

#1 lore raw

Attention is currently required from: plaisthos.

Hello plaisthos,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email

to review the following change.

Change subject: configure.c adjust to native inotify support for FreeBSD 15+
......................................................................

configure.c adjust to native inotify support for FreeBSD 15+

FreeBSD 15 has native inotify support, and no "libinotify.pc" pkg config file anymore, plus no extra includes are needed. This works fine if we conditionalize the FreeBSD check to "freebsd-1[0-4]".

Due to m4 involvement double braces are needed for quoting.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293176

Change-Id Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8

---
M configure.ac

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/35/1535/1

configure.ac +1 -1
index 9fa6a41..e151816 100644
@@ -1294,7 +1294,7 @@
 
 if test "${enable_async_push}" = "yes"; then
 	case "$host" in
-		*-*-freebsd*)
+		*-*-freebsd1[[0-4]]*)
 			PKG_CHECK_MODULES(
 				[OPTIONAL_INOTIFY],
 				[libinotify],

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8
Gerrit-Change-Number: 1535
Gerrit-PatchSet: 1
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>

#2 lore raw

[Openvpn-devel] [XS] Change in openvpn[master]: configure.ac: adjust to native inotify support for FreeBSD 15+

In reply to a message not in the archive

Attention is currently required from: plaisthos.

Hello plaisthos,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email

to look at the new patch set (#2).

Change subject: configure.ac: adjust to native inotify support for FreeBSD 15+
......................................................................

configure.ac: adjust to native inotify support for FreeBSD 15+

FreeBSD 15 has native inotify support, and no "libinotify.pc" pkg config file anymore, plus no extra includes are needed. This works fine if we conditionalize the FreeBSD check to "freebsd-1[0-4]".

Due to m4 involvement double braces are needed for quoting.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293176

Change-Id Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8

---
M configure.ac

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/35/1535/2

configure.ac +1 -1
index 9fa6a41..e151816 100644
@@ -1294,7 +1294,7 @@
 
 if test "${enable_async_push}" = "yes"; then
 	case "$host" in
-		*-*-freebsd*)
+		*-*-freebsd1[[0-4]]*)
 			PKG_CHECK_MODULES(
 				[OPTIONAL_INOTIFY],
 				[libinotify],

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8
Gerrit-Change-Number: 1535
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>

#3 lore raw

[Openvpn-devel] [XS] Change in openvpn[master]: configure.ac: adjust to native inotify support for FreeBSD 15+

In reply to a message not in the archive

Attention is currently required from: cron2, plaisthos.

ordex has posted comments on this change by cron2. ( http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email )

Change subject: configure.ac: adjust to native inotify support for FreeBSD 15+
......................................................................

Patch Set 2: Code-Review+2

(1 comment)

Patchset:

PS2:
LGTM

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8
Gerrit-Change-Number: 1535
Gerrit-PatchSet: 2
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: ordex <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: cron2 <[email protected]...>
Gerrit-Comment-Date: Fri, 20 Feb 2026 10:15:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

#4 lore raw

PATCH v2 1/1 configure.ac: adjust to native inotify support for FreeBSD 15+

In reply to a message not in the archive

FreeBSD 15 has native inotify support, and no "libinotify.pc" pkg config file anymore, plus no extra includes are needed. This works fine if we conditionalize the FreeBSD check to "freebsd-1[0-4]".

Due to m4 involvement double braces are needed for quoting.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293176

Change-Id Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1535
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1535
This mail reflects revision 2 of this Change.

Acked-by according to Gerrit (reflected above):
Antonio Quartulli <[email protected]...>

configure.ac +1 -1
index 9fa6a41..e151816 100644
@@ -1294,7 +1294,7 @@
 
 if test "${enable_async_push}" = "yes"; then
 	case "$host" in
-		*-*-freebsd*)
+		*-*-freebsd1[[0-4]]*)
 			PKG_CHECK_MODULES(
 				[OPTIONAL_INOTIFY],
 				[libinotify],
#5 lore raw

[Openvpn-devel] [PATCH applied] Re: configure.ac: adjust to native inotify support for FreeBSD 15+

Tested on FreeBSD 14 ("needs libinotify pkg") and 15 ("built-in, no pkg, no CFLAGS etc. needed").

Patch has been applied to the master, release/2.7 and release/2.6 branch (long-term compat).

commit 38243844f225517fa1d288517db9a34a33c5ad13 (master) commit d9279c77f796a45cd94e929376d5d4d9cbae34eb (release/2.7) commit a4bf28df70385b71934ab0016560eadf4c4ea542 (release/2.6)

Author: Gert Doering
Date:   Fri Feb 20 11:20:58 2026 +0100
     configure.ac: adjust to native inotify support for FreeBSD 15+

     Signed-off-by: Gert Doering <[email protected]...>
     Acked-by: Antonio Quartulli <[email protected]...>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1535
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg35761.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#6 lore raw

[Openvpn-devel] [XS] Change in openvpn[master]: configure.ac: adjust to native inotify support for FreeBSD 15+

In reply to a message not in the archive

Hello ordex, plaisthos,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email

to look at the new patch set (#3).

The following approvals got outdated and were removed:
Code-Review+2 by ordex

Change subject: configure.ac: adjust to native inotify support for FreeBSD 15+
......................................................................

configure.ac: adjust to native inotify support for FreeBSD 15+

FreeBSD 15 has native inotify support, and no "libinotify.pc" pkg config file anymore, plus no extra includes are needed. This works fine if we conditionalize the FreeBSD check to "freebsd-1[0-4]".

Due to m4 involvement double braces are needed for quoting.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293176

Change-Id Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1535
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg35761.html

---
M configure.ac

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/35/1535/3

configure.ac +1 -1
index 9fa6a41..e151816 100644
@@ -1294,7 +1294,7 @@
 
 if test "${enable_async_push}" = "yes"; then
 	case "$host" in
-		*-*-freebsd*)
+		*-*-freebsd1[[0-4]]*)
 			PKG_CHECK_MODULES(
 				[OPTIONAL_INOTIFY],
 				[libinotify],

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8
Gerrit-Change-Number: 1535
Gerrit-PatchSet: 3
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: ordex <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>

#7 lore raw

[Openvpn-devel] [XS] Change in openvpn[master]: configure.ac: adjust to native inotify support for FreeBSD 15+

In reply to a message not in the archive

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email )

Change subject: configure.ac: adjust to native inotify support for FreeBSD 15+
......................................................................

configure.ac: adjust to native inotify support for FreeBSD 15+

FreeBSD 15 has native inotify support, and no "libinotify.pc" pkg config file anymore, plus no extra includes are needed. This works fine if we conditionalize the FreeBSD check to "freebsd-1[0-4]".

Due to m4 involvement double braces are needed for quoting.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293176

Change-Id Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1535
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg35761.html

---
M configure.ac

1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index 9fa6a41..e151816 100644
@@ -1294,7 +1294,7 @@
 
 if test "${enable_async_push}" = "yes"; then
 	case "$host" in
-		*-*-freebsd*)
+		*-*-freebsd1[[0-4]]*)
 			PKG_CHECK_MODULES(
 				[OPTIONAL_INOTIFY],
 				[libinotify],

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1535?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie3f209a641c2f56494dfc7720b13f2a2ba3001a8
Gerrit-Change-Number: 1535
Gerrit-PatchSet: 3
Gerrit-Owner: cron2 <[email protected]...>
Gerrit-Reviewer: ordex <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>